package com.myway.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.myway.dao.CountryDictMapper;
import com.myway.dto.domain.Country;
import com.myway.service.ToolService;

@Service
public class ToolServiceImpl implements ToolService{

    @Autowired
    private CountryDictMapper countryDictMapper;

    @Override
    public List<Country> selectAllCountry() {
        List<Country> countryDicts = countryDictMapper.selectAllCountry();
        return countryDicts;
    }
}
